package com.hk.aefz.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 收藏信息表
 * </p>
 *
 * @author 阿尔法哲
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Collect对象", description="收藏表")
public class Collect implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "收藏id")
    @TableId(value = "scid", type = IdType.AUTO)
    private Integer scid;

    @ApiModelProperty(value = "收藏账号")
    private Integer aid;

    @ApiModelProperty(value = "博客id")
    private Integer eid;

    @ApiModelProperty(value = "状态")
    private Integer scstatus;

    @ApiModelProperty(value = "0通过 1待审核")
    private Integer sstate;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;



}
